const WebpackMerge = require('webpack-merge');
const common = require('./webpack.common.js');
const path = require('path');

module.exports = WebpackMerge.merge(common(true), {
	devtool: 'inline-source-map',
	mode: 'development',
	devServer: {
		hot: true,
	},
	output: {
		filename: '[name].bundle.js',
		path: path.resolve(__dirname, 'dist'),
		chunkFilename: '[name].js',
		publicPath: ''
	},
	plugins: [
	]
})
